package com.atguigu.base;

import com.github.pagehelper.PageInfo;

import java.io.Serializable;
import java.util.Map;

/**
 * @author:ahang
 * @create:2022-07-19 15:02
 * @Description:
 */
public interface BaseService<T> {

    void insert(T role);

    T getById(Serializable id);

    void update(T role);

    void delete(Serializable id);

    PageInfo<T> findPage(Map<String, Object> filters);
}
